package com.example.javabase.autoCompile;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @author: wyb
 * @date: 2021/11/9 9:28
 * @describe:
 * @vision 1.0
 */
@Controller
public class ControllerController {

    @GetMapping("test")
    public String test() throws Exception {
        CompileTest.exeScriptExpression("CompileClass.business()",null);
        return "SUCCESS";
    }
}
